﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;

namespace Mengsk.ProxyDelivery.App.UI.Order
{
    public class OrderViewModel : DependencyObject
    {
        public static readonly DependencyProperty IsCheckedProperty = DependencyProperty.Register("IsChecked", typeof(bool), typeof(OrderViewModel));

        public bool IsChecked { get { return (bool)this.GetValue(IsCheckedProperty); } set { this.SetValue(IsCheckedProperty, value); } }

        public Mengsk.ProxyDelivery.Domain.Order Source { get; set; }

        public OrderViewModel(Mengsk.ProxyDelivery.Domain.Order order)
        {
            this.Source = order;
        }
    }
}
